<legend class='hyc-legend'>
    <span>订单导入异常列表</span>
</legend>
<div class="row hyc-query-row">
    <div class="col-md-1 text-right top7">流水号</div>
    <div class="col-md-3">
        <div class="form-group">
            <input type="text" class="form-control hyc-color" ng-model="waybillGenerate.orderLineId" placeholder="流水号">
        </div>
    </div>
    <div class="col-md-1 text-right top7">订单编号</div>
    <div class="col-md-3">
        <div class="form-group">
            <input type="text" class="form-control hyc-color" ng-model="waybillGenerate.orderCode" placeholder="订单编号">
        </div>
    </div>
    <div class="col-md-4 text-center top7">
        <div class="form-group text-right">
            <div class="btn btn-default btn-sm btn-warning" ng-click="loadData('query')">查询</div>&nbsp;&nbsp;&nbsp;
            <div class="btn btn-default btn-sm" ng-click="clearQuery()">重置</div>&nbsp;&nbsp;&nbsp;
        </div>
    </div>
</div>
<div class="hyc-overflow-y">
    <table class="table table-bordered" style="margin-top: 10px; width: 2000px">
        <tr>
            <th class="text-left">起运地省</th>
            <th class="text-left">起运地区域</th>
            <th class="text-left">目的地省</th>
            <th class="text-left">目的地区域</th>
            <th class="text-left">流水号</th>
            <th class="text-left">订单编号</th>
            <th class="text-left">车型分类ID</th>
            <th class="text-left">车型编号</th>
            <th class="text-left">车型分类名</th>
            <th class="text-left">第一箱油量(L)</th>
            <th class="text-left">车型说明</th>
            <th class="text-center">是否已处理</th>
            <th class="text-left">错误信息</th>
            <th class="text-center">更新时间</th>
            <th class="text-center">操作</th>
        </tr>
        <tr ng-repeat="item in waybillGenerateList track by $index" ng-if="waybillGenerateList.length > 0">
            <td class="text-left">{{item.vcstartprovince}}</td>
            <td class="text-left">{{item.vcstartcity}}</td>
            <td class="text-left">{{item.vcprovincename}}</td>
            <td class="text-left">{{item.vccityname}}</td>
            <td class="text-left">{{item.orderLineId}}</td>
            <td class="text-left">{{item.orderCode}}</td>
            <td class="text-left">{{item.istyleid}}</td>
            <td class="text-left">{{item.vcstyleno}}</td>
            <td class="text-left">{{item.vcstylename}}</td>
            <td class="text-left">{{item.orderCostTo.firstfueltotal}}</td>
            <td class="text-left">{{item.vehicledesc}}</td>
            <td class="text-center">{{item.isGenerated == true? '是': '否'}}</td>
            <td class="text-left">{{item.errMsg}}</td>
            <td class="text-center">{{item.gmt_update}}</td>
            <td class="text-center">
                <a href="javascript:;" ng-click="resetImport(item)" ng-hide="item.isGenerated">重新生成</a>
            </td>
        </tr>
        <tr ng-if="waybillGenerateList.length <= 0">
            <td class="text-center" colspan="15">暂无符合条件数据</td>
        </tr>
    </table>
</div>
<div ng-include="pageIncludeUrl" ng-if="waybillGenerateList.length > 0"></div>